package com.yc.entities.custom;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author huxing
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomSaveBedRequestBean对象", description = "添加床位请求Bean")
public class CustomSaveBedRequestBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "院长id")
    @NotNull(message = "院长id不能为空")
    private Integer deanId;

    @ApiModelProperty(value = "启始床位号")
    private Integer startBedNumber;

    @ApiModelProperty(value = "结束床位号")
    private Integer endBedNumber;

    @ApiModelProperty(value = "科室id")
    @NotNull(message = "科室id不能为空")
    private Integer departmentId;

}
